﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataCenter.Model.Model;

namespace DataCenter.Model.Interface
{
    public interface IShopCellProvider
    {
        List<ShopCell> SearchShopCell(out int totalRecord, string shopCode = null, string shopCell = null, bool? active = null, int pagesize = 0, int pageindex = 0);

        List<ShopCell> SearchShopCell(out int totalRecord, string textSearch, int pagesize = 0, int pageindex = 0);

        bool Update(ShopCell shop);

        bool Add(ShopCell shop);

        bool Delete(string shopcode, string shopcell);

        ShopCell RetrieveShopCell(string shopcode, string shopcell);
    }
}
